package com.erlang4j.api.exceptions;

import com.erlang4j.internal.exceptions.Erlang4jException;
import com.erlang4j.internal.exceptions.Erlang4jExceptionConstants;

/** Bindings that are invalid throw this exception if any get method is called */
public class Erlang4JCannotGetKeyFromInvalidBinding extends Erlang4jException {

	public Erlang4JCannotGetKeyFromInvalidBinding(Class<?> expectedClass, String key) {
		super(Erlang4jExceptionConstants.cannotGetKeyFromInvalidBinding, expectedClass, key);
	}

}
